package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.WarehouseOristockEntity;

import java.util.List;
import java.util.Set;

/**
 * @Program xbb-pro
 * @Description
 * @Author caoyy
 * @Date 2019/10/15
 **/

public interface WarehouseOristockModel extends IModel<WarehouseOristockEntity>{

    List<Integer> deleteByWarehouseId(String corpid, List<Long> dataIdIn) throws XbbException;

    Set<Long> getWarehouseIdUnion(Set<Long> warehouseIdList, String corpid);
}
